{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "97bcc476",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "课程表\n",
      "--------------------\n",
      "星期一\n",
      "--------------------\n",
      "上午\n",
      "8:00-9:35 定向越野\n",
      "10:35-12:00 大学英语\n",
      "--------------------\n",
      "下午\n",
      "14;30-16:50 毛概理论\n",
      "--------------------\n",
      "晚上\n",
      "REST!\n"
     ]
    }
   ],
   "source": [
    "print(\"课程表\")\n",
    "print(\"-\"*20)\n",
    "import datetime\n",
    "time = datetime.datetime.today().weekday()\n",
    "week_time = int(time)\n",
    "if week_time==0:\n",
    "    print(\"星期一\")\n",
    "    print(\"-\"*20)\n",
    "    print(\"上午\")\n",
    "    print(\"8:00-9:35 定向越野\");\n",
    "    print(\"10:35-12:00 大学英语\");\n",
    "    print(\"-\"*20)\n",
    "    print(\"下午\")\n",
    "    print(\"14;30-16:50 毛概理论\")\n",
    "    print(\"-\"*20)\n",
    "    print(\"晚上\")\n",
    "    print(\"REST!\")\n",
    "elif week_time==1:\n",
    "    print(\"星期二\")\n",
    "    print(\"-\"*20)\n",
    "    print(\"上午\")\n",
    "    print(\"SLEEP!\")\n",
    "    print(\"-\"*20)\n",
    "    print(\"下午\")\n",
    "    print(\"14:30-15:55 新媒体时代的新闻评论\");\n",
    "    print(\"-\"*20)\n",
    "    print(\"晚上\")\n",
    "    print(\"18:45-20:10 摄影经典作品赏析\");\n",
    "    print(\"20:15-21:45 非物质文化遗产\")\n",
    "elif week_time==2:\n",
    "    print(\"星期三\")\n",
    "    print(\"-\"*20)\n",
    "    print(\"上午\")\n",
    "    print(\"9:45-12:00 融合新闻学\");\n",
    "    print(\"-\"*20)\n",
    "    print(\"下午\")\n",
    "    print(\"REST!\")\n",
    "    print(\"-\"*20)\n",
    "    print(\"晚上\")\n",
    "    print(\"18:45-20:10 大学英语\")\n",
    "elif week_time==3:\n",
    "    print(\"星期四\")\n",
    "    print(\"-\"*20)\n",
    "    print(\"上午\")\n",
    "    print(\"9:45-12:00 Python语言\");\n",
    "    print(\"-\"*20)\n",
    "    print(\"下午\")\n",
    "    print(\"14:30-16:50 创业基础\")\n",
    "    print(\"-\"*20)\n",
    "    print(\"晚上\")\n",
    "    print(\"REST!\")\n",
    "elif week_time==4:\n",
    "    print(\"星期五\")\n",
    "    print(\"-\"*20)\n",
    "    print(\"上午\")\n",
    "    print(\"8:00-9:30 Illustrator软件应用\");\n",
    "    print(\"10:35-12:00 毛概理论\")\n",
    "    print(\"-\"*20)\n",
    "    print(\"REST!\")\n",
    "    print(\"-\"*20)\n",
    "    print(\"REST!\")\n",
    "else:\n",
    "    print(\"周日\")\n",
    "    print(\"-\"*20)\n",
    "    print(\"周末好好休息吧！\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "5474ae15",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
